package com.jht.bletool2java.config;

import com.jht.bletool2java.BuildConfig;

public class BLEConfiguration {

    public static final String KEY_APP_VERSION = "app_version";
    public static final String KEY_SCAN_TIME = "SCAN_TIME";

    private int scanTime = 20;

    public BLEConfiguration(int scanTime) {
        this.scanTime = scanTime;
    }

    public int getScanTime() {
        return scanTime;
    }

    public void setScanTime(int scanTime) {
        this.scanTime = scanTime;
    }

    public String getVersion() {
        return BuildConfig.VERSION_NAME;
    }

    public int getVersionCode() {
        return BuildConfig.VERSION_CODE;
    }

}
